@import '../../assets/less/config.less';
.component-button{
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #eee;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 11px 18px 12px 18px;
    font-size: 14px;
    border-radius: 4px;
    margin-right: 9px;
    i{
        margin-right: 5px;
    }
    &.danger{
        background:@red;
        color:#fff;
        border:1px solid @red;
    }
    &.primary{
        background:@mainColor;
        color:#fff;
        border:1px solid @mainColor;
    }
    &:hover{
        opacity: 0.9;
    }
}